<template>
    <div>
        <h1>register</h1>
        <div class="input_con">
            <div class="input">
                <div>用户名：</div>
                <div>密码：</div>
            </div>
            <div class="input">
                <input class="use" type="text" placeholder="用户名" ref="username">
                <input class="pas" type="password" placeholder="密码" ref="password">
            </div>
        </div>
        <div>{{msg}}</div>
        <button @click="register()">注册</button>
        <div>
            已有账号？去
            <router-link to="/login">登录</router-link>
        </div>
    </div>
</template>
<script src="./register.js" />
<style scoped src='./register.css'>